package com.ecs.to_tos_service.mapper.tos;

import com.ecs.to_tos_service.domain.GtsOuttruckHaulContainers;
import com.ecs.to_tos_service.domain.GtsOuttruckHaulContainersExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GtsOuttruckHaulContainersMapper {
    long countByExample(GtsOuttruckHaulContainersExample example);

    int deleteByExample(GtsOuttruckHaulContainersExample example);

    int deleteByPrimaryKey(Long ohcId);

    int insert(GtsOuttruckHaulContainers record);

    int insertSelective(GtsOuttruckHaulContainers record);

    List<GtsOuttruckHaulContainers> selectByExample(GtsOuttruckHaulContainersExample example);

    GtsOuttruckHaulContainers selectByPrimaryKey(Long ohcId);

    int updateByExampleSelective(@Param("record") GtsOuttruckHaulContainers record, @Param("example") GtsOuttruckHaulContainersExample example);

    int updateByExample(@Param("record") GtsOuttruckHaulContainers record, @Param("example") GtsOuttruckHaulContainersExample example);

    int updateByPrimaryKeySelective(GtsOuttruckHaulContainers record);

    int updateByPrimaryKey(GtsOuttruckHaulContainers record);


    List<GtsOuttruckHaulContainers> selectByResultMap (@Param("ohcId") Long ohcId);

    List<GtsOuttruckHaulContainers> selectByOtrResultMap (@Param("otrId") Long otrId);

}